@import './base.scss';

.top {
    width: 100%;
    background-color: #f4f4f4;

    .top-w {
        @include w;
        height: 28px;
        line-height: 28px;

        a {
            &:hover {
                text-decoration: underline;
            }
        }

        .top-fl {
            float: left;

            a {
                color: #998c59;
                margin-left: 10px;
                margin-right: 30px;
            }
        }

        .top-fr {
            float: right;

            .login {
                float: left;

                .exper {
                    display: none;
                }

                a {
                    display: block;
                    color: #999;
                    float: left;
                    line-height: 28px;
                    padding: 0 10px;
                    cursor: pointer;

                    &:nth-child(2) {
                        color: #ae0f17;
                    }
                }
            }

            .other {
                float: left;

                .line {
                    color: #ddd;
                    margin: 0 8px;
                    float: left;
                }

                .cart {
                    color: #cc5252;
                    font-weight: 700;

                    span,
                    i {
                        @extend .cart;
                    }
                }

                a {
                    display: block;
                    color: #999;
                    float: left;
                    line-height: 28px;
                    padding: 0 10px;
                    cursor: pointer;
                }
            }
        }
    }
}

.head {
    @include w;
    height: 115px;

    .head-l {
        margin-top: 18px;
        width: 404px;
        float: left;
    }

    .head-s {
        width: 392px;
        height: 40px;
        font-size: 14px;
        float: left;
        margin-top: 37.5px;

        .search {
            border: 1px solid #ddd;
            width: 316px;
            height: 40px;
            float: left;
            box-sizing: border-box;
            position: relative;

            i {
                position: absolute;
                top: 11px;
                left: 7px;
                display: block;
                background-image: url(../images/b.png);
                background-position: -273px -346px;
                background-size: 475px;
                width: 16px;
                height: 16px;
            }

            input {
                width: 286px;
                height: 100%;
                padding-left: 30px;
                border: 0;
                display: block;
                color: #333;
                font-size: 14px;
                background: rgba(255, 255, 255, 0);

                &::placeholder {
                    color: #ccc;
                }
            }
        }


        button {
            width: 76px;
            height: 40px;
            cursor: pointer;
            font-size: 14px;
            color: #fff;
            border-radius: 0 4px 4px 0;
            float: left;
            border: 0;
            background-image: linear-gradient(-270deg, #da6666 0, #b33636 100%);
        }

    }

    .head-r {
        float: right;
        width: 115px;
        height: 115px;

        img {
            width: 100%;
        }
    }
}

.nav {
    @include w;
    background-color: #fff;

    .nav-l {
        width: 202px;
        height: 48px;
        margin-right: 20px;
        float: left;
        background-color: red;
        position: relative;

        .menu {
            width: 202px;
            height: 460px;
            position: absolute;
            z-index: 8;
            display: block;
            background: rgba(255, 255, 255, .9);

            .m_box {
                box-shadow: inset -15px -7px 7px -15px rgba(0, 0, 0, 4%);
                background-color: transparent;
                height: 57.5px;
                // position: relative;

                &:hover {
                    background-color: #fff;

                    i {
                        display: block;
                    }
                }

                i {
                    content: '';
                    // display: block;
                    display: none;
                    float: left;
                    width: 4px;
                    height: 100%;
                    background-color: #ccaa7a;
                }

                dl {
                    width: 182px;
                    height: 100%;
                    margin-left: 5px;
                    float: left;
                }

                dt {
                    float: left;

                    a {
                        color: #4d4d4d;
                        float: left;
                        margin-right: 4px;
                        font-weight: 700;
                        line-height: 57.5px;
                        font-size: 12px;
                        height: 57.5px;
                        padding: 0;
                        background: none;
                    }

                    em {
                        display: inline-block;
                        color: #b3b3b3;
                        margin: 0 3px;
                        line-height: 57.5px;
                    }
                }

                dd {
                    overflow: hidden;
                    width: 65%;
                    height: 57.5px;
                    float: left;
                    color: #ccc;

                    b {
                        padding: 0;
                        line-height: 57.5px;
                        margin-right: 3px;
                        color: #666;
                        cursor: pointer;

                        &:hover {
                            text-decoration: underline;
                            color: #000
                        }
                    }
                }

                .sub {
                    width: 998px;
                    padding-top: 23px;
                    border: 1px solid #ccc;
                    box-sizing: border-box;
                    position: absolute;
                    height: 460px;
                    top: 0;
                    left: 200px;
                    background-color: #fff;
                    display: none;
                    cursor: pointer;

                    /* 右侧品牌列表 */
                    .brand_list {
                        width: 998px;
                        background-color: #fff;
                        padding-top: 23px;
                        border: 1px solid #ccc;
                        position: absolute;
                        left: 100%;
                        top: 0px;
                        display: none;
                    }

                    .brand_list_tips {
                        font-size: 14px;
                        font-weight: 600px;
                        color: #666;
                        padding-left: 7px;
                        margin-left: 24px;
                        margin-bottom: 12px;
                        border-left: 4px solid rgb(102, 102, 102);
                    }

                    .brand_list_content {
                        width: 717px;
                        max-height: 278px;
                        overflow-y: scroll;
                        overflow-x: hidden;
                        margin: 0px 28px 15px 24px;
                    }

                    .brand_list_content::-webkit-scrollbar {
                        width: 4px;
                        border-radius: 4px;
                    }

                    .brand_list_content::-webkit-scrollbar-thumb {
                        background-color: rgb(216, 216, 216);
                        border-radius: 4px;
                    }

                    .brand_list_content>li {
                        width: 139px;
                        border: 1px solid #e6e6e6;
                        padding: 18.5px 0px;
                        position: relative;
                        text-align: center;
                    }

                    .brand_list_image {
                        width: 100px;
                        height: 40px;
                        margin: 0 auto;
                    }

                    .brand_list_image img {
                        height: 100%;
                    }

                    .hot_word {
                        margin-top: 12px;
                        margin-left: 24px;
                    }

                    .hot_word span {
                        display: inline-block;
                        height: 36px;
                        line-height: 36px;
                        padding: 0 18px;
                        border-radius: 18px;
                        border: 1px solid #eee;
                        font-size: 14px;
                        color: #666;
                    }

                    .hot_word span:hover {
                        background-color: #ccaa7a;
                        color: #fff;
                    }

                    .w_left_menu>ul>li:hover .brand_list {
                        display: block;
                    }

                    /* 品牌遮罩名称 */
                    .w_content_name {
                        display: none;
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        line-height: 79px;
                        font-weight: 700;
                        font-size: 14px;
                        color: #fff;
                        background-color: #ccaa7a;
                        text-align: center;
                    }

                    .brand_list_content>li:hover .w_content_name {
                        display: block;
                    }
                }
            }
        }

        .a {
            height: 48px;
            line-height: 48px;
            display: block;
            padding: 0 16px;
            color: #fff;
            background-image: linear-gradient(269deg, #b34747 1%, #cc5252 98%);
            background-color: #b32424;

            .logo {
                font-size: 14px;
            }

            i {
                background-image: url('../images/a.png');
                background-position: -280px -325px;
                background-size: 589px;
                width: 14px;
                height: 14px;
                display: inline-block;
                float: right;
                margin-top: 16px;
            }

        }
    }

    .nav-r {
        height: 48px;

        li {
            margin-left: 24px;
            float: left;

            a {
                height: 41px;
                line-height: 41px;
                font-size: 14px;
                color: #333;
                display: block;

                &:hover {
                    border-bottom: 3px solid #cc5252;
                }
            }
        }
    }

    .nav-s {
        display: none;
        position: absolute;
        z-index: 20;
        width: 96px;
        height: 48px;
        left: 92%;
        top: 0;

        div {
            position: relative;
            display: block;
            width: 48px;
            height: 48px;
            text-align: center;
            cursor: pointer;
            float: left;

            span {
                display: inline-block;
                margin-top: 8px;
                background-image: url(../images/b.png);
                background-position: -443px -84px;
                background-size: 475px px;
                width: 32px;
                height: 32px;
            }

            b {
                display: inline-block;
                margin-top: 12px;
                background-image: url(../images/a.png);
                background-position: -507px -382px;
                background-size: 589px;
                width: 24px;
                height: 24px;
            }

            i {
                position: absolute;
                width: 16px;
                height: 16px;
                right: 5px;
                top: 3px;
                text-align: center;
                line-height: 15px;
                color: #fff;
                font-size: 10px;
                background: #b32424;
                border-radius: 50%;
            }
        }
    }
}

.main {
    background-color: #f5f5f5;
    padding-bottom: 60px;

    .banner {
        position: relative;
        overflow: hidden;

        .top-shadow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 10px;
            background-image: linear-gradient(0deg, rgba(0, 0, 0, 0) 0, #000 100%);
            opacity: .08;
            z-index: 89;
        }

        .swiper {
            @include w;
            position: relative;

            ul {
                position: relative;
                height: 460px;
                margin-left: -360px;
            }

            li {
                width: 1920px;
                height: 460px;
                opacity: 0;
                position: absolute;

                &:nth-child(1) {
                    opacity: 1;
                }

            }

            .pointer {
                width: auto;
                position: absolute;
                height: 14px;
                bottom: 22px;
                z-index: 5;
                left: 50%;
                margin-left: -300px;

                span {
                    display: inline-block;
                    vertical-align: middle;
                    height: 6px;
                    width: 6px;
                    margin: 0 5px;
                    border-radius: 50%;
                    border: 2px solid #fff;
                    text-indent: -9999px;
                    opacity: .5;
                    background: 0 0;

                    &.current {
                        width: 8px;
                        height: 8px;
                        border: 3px solid #ccaa7a;
                        opacity: 1;
                        background-color: #fff;
                    }
                }
            }

            .next {
                width: 36px;
                right: 50%;
                margin-right: -600px;
                position: absolute;
                top: 50%;
                margin-top: -30px;
                cursor: pointer;

                i {
                    display: block;
                    background-image: url(../images/b.png);
                    background-position: -234px -114px;
                    // background-position: -188px -114px;
                    background-size: 475px;
                    width: 36px;
                    height: 60px;
                }
            }

            .prev {
                width: 36px;
                position: absolute;
                left: 50%;
                margin-left: -398px;
                top: 50%;
                margin-top: -30px;
                cursor: pointer;

                i {
                    display: block;
                    background-image: url(../images/b.png);
                    background-position: -142px -114px;
                    // background-position: -280px -114px;
                    background-size: 475px;
                    width: 36px;
                    height: 60px;
                }
            }
        }


    }

    .index {
        @include w;
        height: 280px;
        overflow: hidden;
        margin-top: 11px;
        margin-bottom: 32px;
        display: flex;
        justify-content: space-between;

        p {
            height: 280px;
            overflow: hidden;
            cursor: pointer;
            position: relative;
            text-align: center;

            b {
                position: absolute;
                top: 22px;
                left: 5%;
                width: 90%;
                font-size: 16px;
                font-weight: 700;
                color: #fff;
            }

            i {
                @extend b;
                top: 48px;
                font-size: 12px;
                font-weight: 300;
            }
        }

        img {
            transition: all ease .5s;

            &:hover {
                transform: scale(1.10);
            }
        }
    }

    .miaosha {
        @include w;
        height: 340px;
        margin-bottom: 32px;

        .bread {
            height: 60px;

            .bread_l {
                float: left;
                margin-left: 8px;
                line-height: 60px;

                h5 {
                    color: #cc5252;
                    font-size: 20px;
                    float: left;
                }

                .time {
                    width: 291px;
                    float: left;
                    height: 28px;
                    line-height: 28px;
                    margin-top: 16px;
                    margin-left: 20px;
                    text-align: center;
                    display: block;
                    background-image: url(../images/b.png);
                    background-position: -142px 0;
                    background-size: 475px;

                    span {
                        display: inline-block;
                        text-align: center;
                        color: #fff;
                        vertical-align: top;

                        i {
                            font-size: 14px;
                            font-weight: 600;
                            margin: 2px;
                        }
                    }
                }
            }

            .bread_r {
                float: right;

                a {
                    color: #666;
                    line-height: 60px;

                    &:hover {
                        text-decoration: underline;
                        color: #000;
                    }
                }
            }
        }

        .timebuy {
            height: 280px;
            // background-color: #b34747;
            position: relative;

            p {
                width: 392px;
                height: 280px;
                overflow: hidden;
                margin-right: 12px;
                float: left;

                img {
                    transition: all ease .5s;

                    &:hover {
                        transform: scale(1.10);
                    }
                }
            }

            .p_txt {
                width: 23%;
                position: absolute;
                left: 5%;
                bottom: 28px;
                text-align: center;
                color: #fff;
                z-index: 2;

                b {
                    font-size: 20px;
                    margin-bottom: 2px;
                    font-weight: 700;
                    display: block;
                }
            }

            .swiper {
                width: 594px;
                height: 280px;
                margin-right: 12px;
                background-color: #fff;
                float: left;
                position: relative;
                overflow: hidden; //轮播图显示

                .prev {
                    position: absolute;
                    z-index: 5;
                    left: 0;
                    top: 50%;
                    margin-top: -30px;
                    cursor: pointer;

                    i {
                        display: block;
                        background-image: url(../images/b.png);
                        background-position: -342px -184px;
                        background-size: 475px;
                        width: 30px;
                        height: 60px;

                        &:hover {
                            background-position: -302px -184px;
                        }
                    }
                }

                .next {
                    position: absolute;
                    z-index: 5;
                    top: 50%;
                    right: 0;
                    margin-top: -30px;
                    cursor: pointer;

                    i {
                        display: block;
                        background-image: url(../images/b.png);
                        background-position: -262px -184px;
                        background-size: 475px;
                        width: 30px;
                        height: 60px;

                        &:hover {
                            background-position: -222px -184px;
                        }
                    }
                }

                ul {
                    height: 280px;
                    width: 2500px;
                    position: absolute;

                    li {
                        width: 198px;
                        height: 280px;
                        display: inline-block;
                        float: left;
                        text-align: center;

                        img {
                            width: 166px;
                            height: 166px;
                            margin: 0 auto;
                            padding-top: 24px;
                            overflow: hidden;
                            background-color: #fff;
                        }

                        .s_txt {
                            width: 166px;
                            height: 56px;
                            margin: 0 auto;

                            .p1 {
                                color: #666;
                                font-weight: 700;
                                margin-top: 12px;
                                margin-bottom: 4px;
                                width: 166px;
                                height: 14px;
                            }

                            .p2 {
                                width: 166px;
                                height: 20px;
                                line-height: 20px;
                                text-align: center;
                                margin-bottom: 4px;
                                margin-left: 36px;

                                .zhe {
                                    position: relative;
                                    display: inline-block;
                                    width: 43px;
                                    height: 24px;
                                    float: left;

                                    em {
                                        position: absolute;
                                        left: 0;
                                        width: 100%;
                                        height: 100%;
                                        color: #fff;
                                        font-family: DIN-Bold;
                                    }

                                    i {
                                        display: block;
                                        background-image: url(../images/b.png);
                                        background-position: -42px -374px;
                                        background-size: 475px;
                                        width: 43px;
                                        height: 20px;
                                    }
                                }

                                .yhj {
                                    min-width: 45px;
                                    background-color: #f2f2f2;
                                    color: #cc5252;
                                    border-radius: 0 10px 10px 0;
                                    padding: 0 5px;
                                    float: left;
                                }

                                del {
                                    display: block;
                                    color: #999;
                                }
                            }
                        }
                    }
                }
            }

            .time_logo {
                display: block;
                width: 142px;
                height: 205px;
                margin: 32px 0 0 17px;
                float: left;
            }
        }
    }

    .block {
        @include w;
        height: 420px;
        margin-bottom: 32px;

        .top_block {
            height: 60px;

            h3 {
                font-size: 20px;
                color: #4a4a4a;
                line-height: 60px;
                margin: 0 20px 0 8px;
                float: left;
            }

            p {
                background-color: #333;
                color: #f2d291;
                float: left;
                cursor: pointer;
                margin-top: 15px;
                width: 72px;
                height: 28px;
                line-height: 28px;
                text-align: center;
                position: relative;

                i {
                    position: absolute;
                    background-image: url(../images/b.png);
                    background-position: -326px -168px;
                    background-size: 475px;
                    width: 11px;
                    height: 4px;
                    top: 28px;
                    left: 30px;
                }
            }
        }

        .container {
            height: 360px;
            position: relative;

            .p_img {
                width: 392px;
                float: left;
                height: 360px;
                overflow: hidden;
                display: inline-block;

                img {
                    transition: all ease .5s;

                    &:hover {
                        transform: scale(1.10);
                    }
                }
            }

            .p_txt {
                width: 23%;
                position: absolute;
                left: 5%;
                bottom: 28px;
                text-align: center;
                color: #fff;
                z-index: 2;

                b {
                    font-size: 20px;
                    margin-bottom: 2px;
                    font-weight: 700;
                    display: block;
                }
            }

            a {
                float: left;
                margin-left: 12px;
                display: inline-block;
                width: 392px;
                height: 174px;
                margin-bottom: 12px;
                overflow: hidden;

                &:hover {
                    box-shadow: 0 2px 6px 0 rgb(0, 0, 0 / 10%);
                }
            }
        }

    }

    .ppg {
        @include w;
        height: 649px;

        .ppg_top {
            height: 60px;

            h3 {
                font-size: 20px;
                color: #4a4a4a;
                line-height: 60px;
                margin: 0 20px 0 8px;
                float: left;
            }

            li {
                color: #666;
                background-color: #e6e6e6;
                float: left;
                cursor: pointer;
                margin-top: 15px;
                margin-right: 8px;
                width: 72px;
                height: 28px;
                line-height: 28px;
                text-align: center;
                position: relative;

                &.current {
                    background-color: #333; //移入显示
                    color: #f2d291;
                }

                i {
                    position: absolute;
                    background-image: url(../images/b.png);
                    background-position: -326px -168px;
                    background-size: 475px;
                    width: 11px;
                    height: 4px;
                    top: 28px;
                    left: 30px;
                    display: none;

                    &.current {
                        display: block; //移入显示
                    }
                }
            }

            a {
                color: #666;
                line-height: 60px;
                float: right;

                &:hover {
                    text-decoration: underline;
                    color: #000;
                }
            }
        }

        .ppg_main {
            position: relative;

            ul {
                height: 544px;
                width: 1212px;
                overflow: hidden;
                display: none;

                &.current {
                    display: block;
                }

                li {
                    float: left;
                    width: 594px;
                    height: 260px;
                    margin-bottom: 12px;
                    margin-right: 12px;
                    cursor: pointer;
                    overflow: hidden;

                    img {
                        transition: all ease .5s;

                        &:hover {
                            transform: scale(1.10);
                        }
                    }
                }
            }

            .prev {
                position: absolute;
                z-index: 5;
                left: 0;
                top: 50%;
                margin-top: -35px;

                i {
                    display: block;
                    background-image: url(../images/b.png);
                    background-position: -342px -184px;
                    // background-position: -302px -184px;
                    background-size: 475px;
                    width: 30px;
                    height: 60px;
                }
            }

            .next {
                position: absolute;
                z-index: 5;
                top: 50%;
                right: 0;
                margin-top: -35px;

                i {
                    display: block;
                    background-image: url(../images/b.png);
                    background-position: -262px -184px;
                    // background-position: -222px -184px;
                    background-size: 475px;
                    width: 30px;
                    height: 60px;
                }
            }

        }
    }
}

//猜你喜欢商品
.carts {
    @include w;

    .ca_top {
        height: 60px;
        line-height: 60px;
        overflow: hidden;

        h3 {
            font-size: 20px;
            color: #4a4a4a;
            line-height: 60px;
            margin-left: 8px;
        }
    }

    .guess {
        &::after {
            content: '';
            height: 0;
            clear: both;
            visibility: hidden;
            display: block;
        }

        a {
            &:hover {
                box-shadow: 0 2px 3px 0 rgb(0, 0, 0 / 6%);
            }

            &:nth-child(4n) {
                margin-right: 0;
            }

            float: left;
            margin-right: 12px;
            display: block;
            margin-bottom: 12px;
            padding-bottom: 20px;
            position: relative;
            width: 291px;
            text-align: center;
            background-color: #fff;
            line-height: 12px;
            color: #999;

            .img {
                width: 223px;
                height: 223px;
                position: relative;
                margin: 0 auto;

                .yaofeng {
                    position: absolute;
                    width: 100%;
                    bottom: 0;
                    left: 0;

                    img {
                        width: 100%;
                    }

                    span {
                        position: absolute;
                        right: 3px;
                        bottom: 10px;
                        color: #fff;
                        font-size: 13px;
                        font-weight: 600;
                    }
                }
            }

            p {
                color: #666;
                font-weight: 700;
                margin-top: 8px;
                margin-bottom: 8px;

                &:nth-child(3) {
                    width: 80%;
                    margin: 0 auto;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    line-height: 14px;
                    color: #999;
                    font-size: 12px;
                    margin-bottom: 16px;
                }
            }
        }
    }
}

//底部区域
.footer {
    width: 100%;
    background: #333;

    .ribbon {
        height: 70px;
        background: #fff;
        border-top: 1px solid #eee;

        .w {
            @include w;

            a {
                span {
                    display: inline-block;
                    vertical-align: middle;
                    margin-right: 8px;
                    background-image: url(../images/a.png);
                    background-position: -409px -357px;
                    background-size: 589px;
                    width: 38px;
                    height: 38px;

                }

                &:nth-child(2) span {
                    background-position: 0 -414px;
                }

                &:nth-child(3) span {
                    background-position: -361px -357px;
                }

                &:nth-child(4) span {
                    background-position: -313px -357px;
                }

                &:nth-child(5) span {
                    background-position: -265px -357px;
                }

                display: block;
                float: left;
                width: 240px;
                text-align: center;
                height: 70px;
                line-height: 70px;
                color: #666;
                font-size: 14px;
                cursor: pointer;
            }
        }

    }

    .inst {
        @include w;
        padding: 44px 0 80px;
        height: 263px;
        box-sizing: border-box;

        .inst_left {
            float: left;

            .p1 {
                font-size: 14px;
                color: #ccaa7a;
                font-weight: 700;
                line-height: 19px;
                margin-bottom: 12px;
            }

            .p2 {
                font-size: 24px;
                line-height: 31px;
                color: #ccaa7a;
            }

            b {
                color: #999;
                line-height: 16px;
                font-size: 12px;
                margin: 0 5px 0 0;
                display: inline-block;
            }

            a {
                display: block;
                width: 132px;
                height: 36px;
                line-height: 36px;
                color: #999;
                font-weight: 700;
                text-align: center;
                border: 1px solid #999;
                border-radius: 100px;
                margin-top: 16px;

                &:hover {
                    background-color: #ccaa7a;
                    color: #fff;
                    border-color: #ccaa7a;
                }
            }
        }

        .inst_middle {
            width: 520px;
            margin-left: 122px;
            float: left;

            dl {
                width: 80px;
                float: left;
                margin-right: 24px;

                dt {
                    font-size: 14px;
                    color: #ccc;
                    font-weight: 700;
                    margin-bottom: 13px;
                }

                a {
                    display: block;
                    line-height: 28px;
                    color: #999;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;

                    &:hover {
                        color: #fff;
                    }
                }

                &:nth-child(5) dt {
                    color: #ccaa7a;
                }
            }
        }

        .inst_ggt {
            position: relative;
            float: left;
            width: 113px;
            height: 113px;
            margin-left: 187px;
            margin-top: 5px;
            overflow: hidden;

            img {
                width: 113px;
            }
        }
    }

    .wrap {
        @include w;
        text-align: center;
        height: 167px;
        margin-bottom: 42px;

        a {
            color: #999;
            margin: 0 10px;
            line-height: 20px;
            font-size: 13px;

            &:hover {
                color: #fff;
            }
        }

        .corp {
            margin-top: 43px;
            margin-bottom: 40px;
            color: #999;
            line-height: 18px;
            font-size: 13px;

            p {
                color: #999;
                margin-bottom: 10px;
            }
        }
    }

    .filing {
        width: 100%;
        background-color: #eee;
        padding: 24px 0 41px;

        .w {
            @include w;
            text-align: center;

            a {
                display: inline-block;
                margin: 0 10px;
                width: 98px;
                height: 38px;
                overflow: hidden;
            }
        }
    }
}



//右边购物车区域
.panel {
    position: fixed;
    right: 0;
    height: 100%;
    top: 0;

    .panel_l {
        position: absolute;
        right: 0;
        bottom: 55px;
        width: 44px;
        height: 220px;
        z-index: 20;
        box-shadow: 0 0 4px 1px rgb(0, 0, 0 / 6%);

        a {
            background-color: #fff;
            position: relative;
            display: block;
            width: 44px;
            height: 44px;

            &:hover {
                background-color: #f1f1f1;
            }

            em {
                width: 16px;
                height: 16px;
                position: absolute;
                right: 5px;
                top: 3px;
                text-align: center;
                line-height: 15px;
                color: #fff;
                font-size: 10px;
                background: #b32424;
                border-radius: 50%;
            }

            i {
                position: absolute;
                top: 10px;
                left: 10px;
                z-index: 30;
                display: block;
                background-image: url(../images/a.png);
                background-position: -507px -382px;
                background-size: 589px;
                width: 24px;
                height: 24px;
            }

            &:nth-child(2) i {
                background-position: -507px -246px;
            }

            &:nth-child(3) i {
                background-position: -469px -360px;
            }

            &:nth-child(4) i {
                background-position: -373px -462px;
            }

            &:nth-child(5) i {
                background-position: -507px -178px;
            }
        }
    }

    .panel_r {
        position: absolute;
        right: -262px;
        width: 260px;
        height: 100%;
        background: #f1f1f1;
        border-left: 2px solid #333;
        z-index: 99;

        .panel_top {
            height: 48px;
            line-height: 48px;
            background: #fff;
            padding: 0 10px;
            border-bottom: 1px solid #ddd;

            b {
                float: left;
                font-size: 14px;
                color: #333;
            }

            i {
                display: inline-block;
                cursor: pointer;
                margin-top: 14px;
                background-image: url(../images/a.png);
                background-position: -97px -504px;
                background-size: 589px;
                width: 17px;
                height: 16px;
                float: right;
            }
        }

        .login_tip {
            height: 32px;
            line-height: 32px;
            padding: 0 12px;
            background: #fff9ce;
            color: #666;

            span {
                float: left;
            }

            a {
                color: #477db3;
                line-height: 32px;
                float: right;
            }
        }

        .cart_empty {
            display: none;
            width: 100%;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            text-align: center;
            color: #666;

            i {
                margin: 0 auto 23px;
                display: block;
                background-image: url(../images/a.png);
                background-position: 0 -296px;
                background-size: 589px;
                width: 55px;
                height: 51px;
            }
        }

        .cart_list {
            width: 278px;
            height: 86.5%;
            overflow-y: scroll;

            .goods {
                position: relative;
                background: #fff;
                margin-top: 8px;
                height: 94px;

                .del {
                    display: none;
                    position: absolute;
                    bottom: 19px;
                    right: 35px;
                    color: #477db3;
                    z-index: 1000;
                    cursor: pointer;
                    float: left;
                }

                a {
                    position: relative;
                    z-index: 300;
                    width: 60px;
                    height: 60px;
                    overflow: hidden;
                    margin: 16px 8px;
                    text-align: center;

                    &:nth-child(2) {
                        width: 170px;
                        color: #666;
                        margin: 16px 0;
                    }

                    img {
                        width: 100%;
                    }

                    .p1 {
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }


                    p {
                        line-height: 18px;
                        margin-bottom: 3px;
                        text-align: start;

                        i {
                            margin-left: 10px;
                            color: #999;
                        }
                    }
                }
            }
        }

        .cart_bottom {
            position: absolute;
            bottom: 0;
            width: 236px;
            height: 48px;
            padding: 0 12px;
            background: #fff;
            border: 1px solid #ddd;

            em {
                color: #666;
                display: block;
                margin-top: 10px;
                margin-bottom: 2px;
            }

            b {
                color: #cc5252;
                margin-left: -3px;
            }

            a {
                display: inline-block;
                width: 120px;
                height: 32px;
                line-height: 32px;
                color: #fff;
                background: #cc5252;
                border-radius: 100px;
                text-align: center;
                margin-top: 8px;
            }
        }
    }
}